package com.cdm.qf.enables;

import com.cdm.qf.pojo.User;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestMain {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext ioc = new AnnotationConfigApplicationContext(BeanConfig.class);

        User user = ioc.getBean(User.class);

        System.out.println(user);
    }
}
